﻿@model FriendAD.Core.User

@{
    ViewBag.Title = "用户注册";
}
@Styles.Render("~/Content/flexslider")
<script type="text/javascript">
    $(function () {
        $(".flexslider").flexslider({
            slideshowSpeed: 4000, //展示时间间隔ms
            animationSpeed: 400, //滚动时间ms
            animation: "slide",
            controlNav: true,//控制菜单
            directionNav: false,//左右控制按钮
            touch: true //是否支持触屏滑动
        });
    });
</script>
<div class="padding:0px;">
    <div class="topshow" id="topshow">
        <div class="flexslider">
            <ul class="slides">
                <li>
                    <img src="~/Content/img/ss1.jpg" />
                </li>
                <li>
                    <img src="~/Content/img/ss2.jpg" />
                </li>
                <li>
                    <img src="~/Content/img/ss3.jpg" />
                </li>
            </ul>
        </div>
    </div>
    <div class="blank10"></div>
    @using (Html.BeginForm())
    {
        @Html.AntiForgeryToken()

        <hr />
        @Html.ValidationSummary(true, "", new { @class = "text-danger" })
        <dl class="clearfix">
            @Html.LabelFor(model => model.UserName, htmlAttributes: new { @class = "control-label col-md-2" })
            <dd>
                @Html.EditorFor(model => model.UserName, new { htmlAttributes = new { @class = "input_txt form-control" } })
                @Html.ValidationMessageFor(model => model.UserName, "", new { @class = "text-danger" })
            </dd>
        </dl>

        <dl class="clearfix">
            @Html.LabelFor(model => model.DisplayName, htmlAttributes: new { @class = "control-label col-md-2" })
            <dd>
                @Html.EditorFor(model => model.DisplayName, new { htmlAttributes = new { @class = "input_txt form-control" } })
                @Html.ValidationMessageFor(model => model.DisplayName, "", new { @class = "text-danger" })
            </dd>
        </dl>

        <dl class="clearfix">
            @Html.LabelFor(model => model.Password, htmlAttributes: new { @class = "control-label col-md-2" })
            <dd>
                @Html.EditorFor(model => model.Password, new { htmlAttributes = new { @class = "input_txt form-control" } })
                @Html.ValidationMessageFor(model => model.Password, "", new { @class = "text-danger" })
            </dd>
        </dl>

        <dl class="clearfix">
            @Html.LabelFor(model => model.Email, htmlAttributes: new { @class = "control-label col-md-2" })
            <dd>
                @Html.EditorFor(model => model.Email, new { htmlAttributes = new { @class = "input_txt form-control" } })
                @Html.ValidationMessageFor(model => model.Email, "", new { @class = "text-danger" })
            </dd>
        </dl>

        <div class="btn_boxx">
            <input name="signup" type="submit" class="button" value="注册帐号">
        </div>
    }

</div>